package de.syfy.project.engine.interfaces;

import de.syfy.project.engine.Animation;
import de.syfy.project.engine.errors.NoSuchAnimationException;

/**
 *
 * @author Timo
 */
public interface SpriteAnimation {

    public void registerAnimation(String name, Animation ani);

    public void playAnimation(String name) throws NoSuchAnimationException;
}
